package com.macro.mall.dao.sms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.sms.SmsFlashPromotionDO;
import com.macro.mall.model.sms.SmsFlashPromotionQuery;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface SmsFlashPromotionMapper   extends BaseMapper<SmsFlashPromotionDO> {
    long countByExample(SmsFlashPromotionQuery example);

    int deleteByExample(SmsFlashPromotionQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(SmsFlashPromotionDO record);

    int insertSelective(SmsFlashPromotionDO record);

    List<SmsFlashPromotionDO> selectByExample(SmsFlashPromotionQuery example);

    SmsFlashPromotionDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SmsFlashPromotionDO record, @Param("example") SmsFlashPromotionQuery example);

    int updateByExample(@Param("record") SmsFlashPromotionDO record, @Param("example") SmsFlashPromotionQuery example);

    int updateByPrimaryKeySelective(SmsFlashPromotionDO record);

    int updateByPrimaryKey(SmsFlashPromotionDO record);
}
